<!-- 热门搜索 -->
<template>
	<view class="">
		<view class="br16 br-line margin20 hidden">
			<view class="bg-gray padding20 flex-bettwen">
				<text style="font-weight: bold;">行业搜索词</text>
				<view class="fs26 color-gray">全部分类 <u-icon name="arrow-right"></u-icon> </view>
			</view>
			<view class="">
				<view class="flex-bettwen">
					<view class=" bg-white fs24 padding20" v-for="(item,i) in titleList" :key="i">
						{{item}}
					</view>
				</view>

				
				<view class="bg-white fs24 padding-tb20" v-for="(item,index) in 9" :key="item.id">
					<view class="flex-center">
						<view class="w-100 center p-l30  m-r20">
							{{index+1}}
						</view>

						<!-- 成交金额 -->
						<view class="w-200 center  m-r20">
							<view class="">热门词</view>
						</view>

						<!-- 商品浏览量 -->
						<view class="w-200 center p-l20 m-r20 m-r20">
							<view class="">12,24万</view>
						</view>
						<!-- 商品支付转化率 -->
						<view class="w-230 center p-l20 m-r20">
							<view class="">20.92万</view>
						</view>

						<!-- 支付件数 -->
						<view class="w-230 center p-l20 m-r20">
							<view class="color-blue">查看</view>

						</view>
					</view>
				</view>
			</view>

		</view>


		<view class="h-100"></view>



	</view>
</template>

<script>
	export default {
		name: 'HotSearch',
		data() {
			return {
				titleList: [
					'排名',
					'搜索词',
					'搜索人数指数',
					'成交金额指数',
					'查看详情',
				]
			}
		}
	}
</script>

<style lang="scss" scoped>
	.scrollview-box {
		white-space: nowrap;
		/* 滚动必须加的属性 */
		// width: 100%;
	}

	.scroll-item {
		display: inline-flex;
		/* item的外层定义成行内元素才可进行滚动 inline-block / inline-flex 均可 */
		flex-direction: column;
		align-items: center;
		width: 200rpx;
		border-right: 2rpx solid #f2f2f2;
		border-bottom: 2rpx solid #f2f2f2;
	}

	.color-green {
		color: #58bc6a;
	}
</style>